package com.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.time.LocalDate;

@Data
@Entity
@Table(name = "website_content")
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class WebsiteContent {

    @Id
    private String id;
    private String name;
    private String status;
    private String ishow;//是否公开
    private String type;
    private String description;
    private String imginfo;
    private String link;
    private LocalDate createdate;
    private LocalDate updatedate;

    @Transient
    private String wid;

}
